#pragma once
#include "DL_COM.h"
#include "Packing.h"
#include "Unpacking.h"
struct _LINK_CONF_
{
	UINT version;
	_MT_SAFE_<std::string>* session_id_ptr;
	Packing*		packing_ptr;
	Unpacking*		unpacking_ptr;
};

class Link : public DL_COM
{
protected:
	Link() = default;
public:
	virtual ~Link() = default;
	virtual DL_RET exec(DL_CMD, DL_PARAM_IN = nullptr) = 0;
};